<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="/public/lib/H-ui.admin/lib/html5shiv.js"></script>
<script type="text/javascript" src="/public/lib/H-ui.admin/lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/public/lib/H-ui.admin/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="/public/lib/H-ui.admin/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="/public/lib/H-ui.admin/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="/public/lib/H-ui.admin/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="/public/lib/H-ui.admin/static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="/public/lib/H-ui.admin/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>用户管理</title>
</head>
<body>
<div class="pd-20">
  <div class="text-c"> 日期范围：
    <input type="text" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}'})" id="datemin" class="input-text Wdate" style="width:120px;">
    -
    <input type="text" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'datemin\')}',maxDate:'%y-%M-%d'})" id="datemax" class="input-text Wdate" style="width:120px;">
    <input type="text" class="input-text" style="width:250px" placeholder="输入会员名称、电话、邮箱" id="" name=""><button type="submit" class="btn btn-success" id="" name=""><i class="icon-search"></i> 搜用户</button>

  </div>
  <div class="cl pd-5 bg-1 bk-gray mt-20">
    <span class="l"><a href="javascript:;" onclick="datadel()" class="btn btn-danger radius"><i class="icon-trash"></i> 批量删除</a>
    <a href="javascript:;" onclick="user_add('550','','添加用户','user-add.html')" class="btn btn-primary radius"><i class="icon-plus"></i> 添加用户</a></span>
    <!-- <span class="r">共有数据：<strong>88</strong> 条</span> -->
  </div>
  <table id="dataTable"></table>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="/public/lib/H-ui.admin/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="/public/lib/H-ui.admin/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="/public/lib/H-ui.admin/static/h-ui/js/H-ui.min.js"></script> 
<script type="text/javascript" src="/public/lib/H-ui.admin/static/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="/public/lib/H-ui.admin/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<!-- 分页插件 -->
<script type="text/javascript" src="/public/lib/page/jqPaginator.js"></script> 
<link type="text/css" rel="stylesheet" href="/public/common/css/common.css"/>
<script type="text/javascript" src="/public/common/js/fpage.js"></script>
<script type="text/javascript" src="/public/common/js/ftable.js"></script>
<script type="text/javascript">
	function init(id,name){
		id = id || "";
		$("#dataTable").ftable({
			url:"/SysStaff/querySysStaff",
			param:{name:name||"张三"},
			singleSelect:false,
			pageSize:2,
			onLoad:function(data){
				console.log(data.list);
			},
			onSelect:function(e,rowId,rowData){
				console.log(rowId);
			},
			onClickRow:function(e,rowId,rowData){
				console.log(rowData);
			},
			columns:[
				{name:"ID",data:"staff_id",hidden:false},
				{name:"用户名",data:"staff_name"}
			]
		});
	}
	$(function(){
		
		init(1);
	});

</script>
</body>
</html>
